package com.imooc.entity;

import java.util.Date;

public class ProductCategory {
    private Integer productCategoryId;

    private String productCategoryName;

    private Integer priority;

     private Integer shopId;

    //外键
    private Shop shop;

    @Override
    public String toString() {
        return "ProductCategory{" +
                "productCategoryId=" + productCategoryId +
                ", productCategoryName='" + productCategoryName + '\'' +
                ", priority=" + priority +
                ", shopId=" + shopId +
                ", shop=" + shop +
                ", createTime=" + createTime +
                '}';
    }

    private Date createTime;

    public ProductCategory(){}

    public ProductCategory(Integer productCategoryId, String productCategoryName, Integer priority, Integer shopId, Shop shop, Date createTime) {
        this.productCategoryId = productCategoryId;
        this.productCategoryName = productCategoryName;
        this.priority = priority;
        this.shopId = shopId;
        this.shop = shop;
        this.createTime = createTime;
    }

    public Integer getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(Integer productCategoryId) {
        this.productCategoryId = productCategoryId;
    }

    public String getProductCategoryName() {
        return productCategoryName;
    }

    public void setProductCategoryName(String productCategoryName) {
        this.productCategoryName = productCategoryName;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}